package com.example.tests.lesson1_hw2.tests;

import org.testng.annotations.Test;

public class Test_Contact_CreateNewValid extends TestBase {

	@Test
	public void testCreateNewValidContact() throws Exception {
		initContact().setFirstName("first1").setLastName("last1")
				.setAddress("address4738").setAddress2("address").setHome("home4738")
				.setHome2("home").setMobile("mobile").setWork("work")
				.setEmail("email").setEmail2("email2").setBday(24).setBmonth("12")
				.setBYear(2013);

		navigateToNewContact();
		contactPopulateForm(contact);
		submitContactForm();
		returnToMainPage();
		// TODO assert new contact added
	}

}